package com.elhakimz.matra.actor;

import com.elhakimz.matra.pattern.ISignalSlot;
import com.elhakimz.matra.pattern.SignalType;

/**
 * Simulation Actor data gatherer from Headquarter server
 */
public class ActorData implements ISignalSlot {

    private String name;

    public ActorData(String name) {
        this.name = name;
    }

    public void signal(SignalType signal) {

         if(signal.type.equals(SignalType.SIG_TYPE_COMMAND)){

          // get command from USER of this object
          //do something, if its okay response OK,
          // otherwise response NOK


        }
    }
}
